package proxystate;

public class GumballMonitor {
    GumballMachine machine;

    public GumballMonitor(GumballMachine machine) {
        this.machine = machine;
    }

    public void report(){
        System.out.println("Gumball Machine:"+machine.getLocation());
        System.out.println("current inventory:"+machine.getCount());
        System.out.println("Current State:"+machine.getState());
    }
}
